package com.muyu.payment.domain.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 余额响应
 *
 * @author muyu
 * @date 2025-01-27
 */
@Data
@Schema(description = "余额响应")
public class BalanceResp {

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Long userId;

    /**
     * 用户账号
     */
    @Schema(description = "用户账号")
    private String userName;

    /**
     * 可用余额
     */
    @Schema(description = "可用余额")
    private BigDecimal balance;


    /**
     * 状态（0:正常 1:冻结）
     */
    @Schema(description = "状态（0:正常 1:冻结）")
    private Integer status;
}